#!/bin/bash
IMAGE_NAME=`cat $1/image_$3`
echo "更新镜像deployments/$3-deployment $3:${IMAGE_NAME}"
kubectl set image deployments/$3-deployment $3=${IMAGE_NAME} --namespace=$2